<notempty name="show">
    <p>{$tip}</p>
</notempty>
<table class="layui-table" lay-data="{width:'auto', height:'auto', url:'{$url}', page: true, limit: 10, id:'admin_area'}"
       lay-filter="admin_area">
    <thead>
    <tr>
        <th lay-data="{field:'id', width:60, fixed: true, sort: true}">ID</th>
        <th lay-data="{field:'name', width:180}">区域名称</th>
    </tr>
    </thead>
</table>
<script>
    layui.use(['table'], function () {
        var table = layui.table;
    })
</script>